package com.ihr360.payroll.service.salarytasklet.dao.impl;

import com.ihr360.payroll.dao.AttendancePlanRepository;
import com.ihr360.payroll.model.dto.attendance.plan.AttendancePlan;
import com.ihr360.payroll.service.salarytasklet.dao.AttendancePlanDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
/**
 * @author davidwei
 */
@Repository
public class AttendancePlanDaoImpl implements AttendancePlanDao {
    @Autowired
    AttendancePlanRepository attendancePlanRepository;

    @Override
    public AttendancePlan findOne(Long id) {
        return attendancePlanRepository.findOne(id);
    }
}